
<HTML>


<head>
<title>Fifth Test for Section 2.1 of CSS Spec</title>
<STYLE TYPE="text/css">
.link { color: green }  /* class "link" */
A:link { color: red }   /*unvisited link */
:visited { color: blue }
</STYLE>
</head>



<BODY>

<h1 >Testing Statement #5 Below of Section 2.1 of CSS1 Spec</h1>

<ul>
<li>
5. Pseudo-class selectors do not match normal classes, and vice versa.  Anchor
pseudo-classes have no effect on elements other than "A."
Therefore, the element type can be omitted from the selector.
</ul>

<h2>
PASS CRITERIA:
</h2>
<p>
If statement #5 above is passed, then this <a class=link name="aaa">name</a>
should be green, and the <a href="#aaa"> link</a> pointing to it should 
be blue if visited.  
This <a href="ovalbbut.gif">link</a> will be red if
unvisited, and blue if visited.  The rule applied is ".link {color: green}"
and the pseudo-class selectors applied are ":link {color: red}" and
"A:visited {color: blue}".  All other properties should be UA-default.
The pseudo-classes do not have any effect on the rule.
Also, the rule ":link {color: red}" and "A:link {color: red}" have the
same effect (see adjacent tests).

Your browser should render this page similarly to this<a href="a215.gif">
reference image</a> or to this<a href="b215.gif">reference image</a>.
To move directly to the next test, click<a href="21-6.htm"> here</a>
</BODY>
</HTML>
